home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4072 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  951 b 

  1. Path: news.uni-c.dk!news
  2. From: mberg@datashopper.dk (Michael Berg)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: SAS/C: How to end progs with NOSTARTUP?
  5. Date: 17 Feb 1996 21:07:54
  6. Organization: -+- NetGate Development -+-
  7. Message-ID: <4g5uo3$129@news.uni-c.dk>
  8. NNTP-Posting-Host: arhppp19.uni-c.dk
  9. Mime-Version: 1.1
  10. Content-Type: TEXT/PLAIN; charset=ISO-8859-1
  11. Content-Transfer-Encoding: 8BIT
  12. X-FTN-To: All
  13. X-Newsreader: Spot 1.3a #49/NetGate 1.1
  14.  
  15. Hello All!
  16.  
  17. A simple question: What is the correct way to abort a program which does
  18. not use startup code? How do I write a global cleanup() function which also
  19. *ends* the program? I normally just use exit(), but that obviously doesn't
  20. work without the correct startup code.
  21.  
  22. I don't always have the time to read everything in this group, so please,
  23. if you reply, send me a copy in e-mail as well.
  24.    __
  25. __///   Michael Berg
  26. \\X/ mberg@datashopper.dk
  27.  
  28. .. One man's constant is another man's variable.
  29.  
  30.